package com.itheima.webaitliasserver.service;

import com.itheima.webaitliasserver.pojo.Emp;
import com.itheima.webaitliasserver.pojo.EmpEntryParam;
import com.itheima.webaitliasserver.pojo.PageResult;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Service;

import java.time.LocalDate;

/**
 * @ClassName: xiaoZhang
 * @Description:
 * @Author: Zhang
 * @CreateDate: 2025-07-23 17:26
 */
public interface EmpService {
     public PageResult<Emp> queryEmpList( Integer page, Integer pageSize );

     public PageResult<Emp> queryEmpListUsePageHelperService( Integer page, Integer pageSize);

     public PageResult<Emp> queryEmpByOptions(EmpEntryParam entryParam);

     public void addEmpRecord(Emp emp);

     public void removeEmpRecordById(Integer[] ids);

     public Emp queryEmpRecordById(Integer id);

     public Emp updateEmpRecord(Emp emp);

}
